#ifndef _CITYVIEWER_
#define _CITYVIEWER_

#include <QKeyEvent>
#include <QGLViewer/qglviewer.h>
#include <Architect.hpp>
#include <Map.hpp>

/** @brief Main viewer for CityBuilder */
class CityViewer : public QGLViewer
{
  protected :
    void draw();
    void init();
    void keyPressEvent(QKeyEvent *e);
//     void mousePressEvent(QMouseEvent* e);
//     void mouseMoveEvent(QMouseEvent *e);
//     void mouseReleaseEvent(QMouseEvent* e);
    /** @brief Set some text in the help window */
    QString helpString() const;
    qglviewer::Vec look;
    int sceneSize;
    bool bfc;
    bool wiremode;
    bool grid;
    bool customMouseBehavior;

    Architect* archi;
    Map* city;
};

#endif
